{*Các dự án nổi bật trong cùng tỉnh*}
<script language="javascript" src="{$smarty.const.BASE_URL}/modules/duanmodule/js/jcarousellite_1.0.1.min.js"></script>
{if $load_css}
<link rel="stylesheet" type="text/css" href="{$smarty.const.BASE_URL}/modules/duanmodule/css/duanmodule.css" />
{/if}
<div class="BoxDevelopNCR mar_t10">
    <div class="IcoViewall">
        <a href="{link action=view module=duanmodule}" class="LinkAdSearch">
            <span class="Iconviewall"></span>
            <span class="TtViewall">Xem tất cả</span> 
        </a>
    </div>
    <div class="BgTitleHomeCity"><div class="TitleHomeCity"><h1>Dự án bất động sản nổi bật</h1></div></div>
    <div class="BorContentHomeCity" >
        <div class="featured" id="{$__loc->src}">
            <ul>
                {foreach from=$projects item=project}
                    <li>
                         <img src="{$smarty.const.BASE_URL}/phpThumb.php?src={$project->thumbnail_path}&w=165" title="{$project->name}">
                         <p class="name"><a href="{link action=view module=duanmodule id=$project->shortname src=$project->src}">{$project->name}</a></p>
                         <p class="location">{$project->location}</p>
                    </li>
                {/foreach}
            </ul>
        </div>
        <div class="ButtonScroll">
            <div class="BtScroll_Previous"><a>&nbsp;</a></div>
            <div class="BtScroll_Next"><a>&nbsp;</a></div>
        </div>
    </div>
</div>
{if count($projects) > 4}
{literal}
<script language='javascript'>
    jQuery(document).ready(function(){
            jQuery(".BorContentHomeCity #{/literal}{$__loc->src}{literal}").jCarouselLite({
                auto: 3000,
                speed: 1500,
                btnPrev: '.BtScroll_Previous',
                btnNext: '.BtScroll_Next'
            });
    });
</script>
{/literal}
{/if}